\(\int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx\) [57]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [C] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 27, antiderivative size = 219 \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\frac {f x}{c}+\frac {\left (c e-b f+\frac {2 c^2 d+b^2 f-c (b e+2 a f)}{\sqrt {b^2-4 a c}}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (c e-b f-\frac {2 c^2 d-b c e+b^2 f-2 a c f}{\sqrt {b^2-4 a c}}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{3/2} \sqrt {b+\sqrt {b^2-4 a c}}} \]

[Out]

f*x/c+1/2*arctan(x*2^(1/2)*c^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2))*(c*e-b*f+(2*c^2*d+b^2*f-c*(2*a*f+b*e))/(-4*a*
c+b^2)^(1/2))/c^(3/2)*2^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2)+1/2*arctan(x*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))
^(1/2))*(c*e-b*f+(2*a*c*f-b^2*f+b*c*e-2*c^2*d)/(-4*a*c+b^2)^(1/2))/c^(3/2)*2^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2
)

Rubi [A] (verified)

Time = 0.39 (sec) , antiderivative size = 219, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {1690, 1180, 211} \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\frac {\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right ) \left (\frac {-c (2 a f+b e)+b^2 f+2 c^2 d}{\sqrt {b^2-4 a c}}-b f+c e\right )}{\sqrt {2} c^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right ) \left (-\frac {-2 a c f+b^2 f-b c e+2 c^2 d}{\sqrt {b^2-4 a c}}-b f+c e\right )}{\sqrt {2} c^{3/2} \sqrt {\sqrt {b^2-4 a c}+b}}+\frac {f x}{c} \]

[In]

Int[(d + e*x^2 + f*x^4)/(a + b*x^2 + c*x^4),x]

[Out]

(f*x)/c + ((c*e - b*f + (2*c^2*d + b^2*f - c*(b*e + 2*a*f))/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt
[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + ((c*e - b*f - (2*c^2*d - b*c*e + b^2
*f - 2*a*c*f)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*c^(3/2)*Sqr
t[b + Sqrt[b^2 - 4*a*c]])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1180

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rule 1690

Int[(Pq_)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> Int[ExpandIntegrand[Pq/(a + b*x^2 + c*x^4), x], x
] /; FreeQ[{a, b, c}, x] && PolyQ[Pq, x^2] && Expon[Pq, x^2] > 1

Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {f}{c}+\frac {c d-a f+(c e-b f) x^2}{c \left (a+b x^2+c x^4\right )}\right ) \, dx \\ & = \frac {f x}{c}+\frac {\int \frac {c d-a f+(c e-b f) x^2}{a+b x^2+c x^4} \, dx}{c} \\ & = \frac {f x}{c}+\frac {\left (c e-b f-\frac {2 c^2 d-b c e+b^2 f-2 a c f}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{2 c}+\frac {\left (c e-b f+\frac {2 c^2 d+b^2 f-c (b e+2 a f)}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{2 c} \\ & = \frac {f x}{c}+\frac {\left (c e-b f+\frac {2 c^2 d+b^2 f-c (b e+2 a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (c e-b f-\frac {2 c^2 d-b c e+b^2 f-2 a c f}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} c^{3/2} \sqrt {b+\sqrt {b^2-4 a c}}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.20 (sec) , antiderivative size = 258, normalized size of antiderivative = 1.18 \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\frac {2 \sqrt {c} f x+\frac {\sqrt {2} \left (2 c^2 d+b \left (b-\sqrt {b^2-4 a c}\right ) f+c \left (-b e+\sqrt {b^2-4 a c} e-2 a f\right )\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \left (2 c^2 d+b \left (b+\sqrt {b^2-4 a c}\right ) f-c \left (b e+\sqrt {b^2-4 a c} e+2 a f\right )\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b+\sqrt {b^2-4 a c}}}}{2 c^{3/2}} \]

[In]

Integrate[(d + e*x^2 + f*x^4)/(a + b*x^2 + c*x^4),x]

[Out]

(2*Sqrt[c]*f*x + (Sqrt[2]*(2*c^2*d + b*(b - Sqrt[b^2 - 4*a*c])*f + c*(-(b*e) + Sqrt[b^2 - 4*a*c]*e - 2*a*f))*A
rcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqr
t[2]*(2*c^2*d + b*(b + Sqrt[b^2 - 4*a*c])*f - c*(b*e + Sqrt[b^2 - 4*a*c]*e + 2*a*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x
)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*Sqrt[b + Sqrt[b^2 - 4*a*c]]))/(2*c^(3/2))

Maple [C] (verified)

Result contains higher order function than in optimal. Order 9 vs. order 3.

Time = 0.08 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.31

method result size
risch \(\frac {f x}{c}+\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (c \,\textit {\_Z}^{4}+\textit {\_Z}^{2} b +a \right )}{\sum }\frac {\left (\left (-b f +e c \right ) \textit {\_R}^{2}-a f +c d \right ) \ln \left (x -\textit {\_R} \right )}{2 c \,\textit {\_R}^{3}+\textit {\_R} b}}{2 c}\) \(68\)
default \(\frac {f x}{c}+\frac {\left (-b f \sqrt {-4 a c +b^{2}}+c \sqrt {-4 a c +b^{2}}\, e +2 a c f -b^{2} f +e b c -2 c^{2} d \right ) \sqrt {2}\, \arctan \left (\frac {c x \sqrt {2}}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {-4 a c +b^{2}}\, c \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}-\frac {\left (-b f \sqrt {-4 a c +b^{2}}+c \sqrt {-4 a c +b^{2}}\, e -2 a c f +b^{2} f -e b c +2 c^{2} d \right ) \sqrt {2}\, \operatorname {arctanh}\left (\frac {c x \sqrt {2}}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {-4 a c +b^{2}}\, c \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\) \(224\)

[In]

int((f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x,method=_RETURNVERBOSE)

[Out]

f*x/c+1/2/c*sum(((-b*f+c*e)*_R^2-a*f+c*d)/(2*_R^3*c+_R*b)*ln(x-_R),_R=RootOf(_Z^4*c+_Z^2*b+a))

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 5788 vs. \(2 (185) = 370\).

Time = 4.34 (sec) , antiderivative size = 5788, normalized size of antiderivative = 26.43 \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\text {Too large to display} \]

[In]

integrate((f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="fricas")

[Out]

Too large to include

Sympy [F(-1)]

Timed out. \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\text {Timed out} \]

[In]

integrate((f*x**4+e*x**2+d)/(c*x**4+b*x**2+a),x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\int { \frac {f x^{4} + e x^{2} + d}{c x^{4} + b x^{2} + a} \,d x } \]

[In]

integrate((f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="maxima")

[Out]

f*x/c - integrate(-((c*e - b*f)*x^2 + c*d - a*f)/(c*x^4 + b*x^2 + a), x)/c

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 4082 vs. \(2 (185) = 370\).

Time = 1.00 (sec) , antiderivative size = 4082, normalized size of antiderivative = 18.64 \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\text {Too large to display} \]

[In]

integrate((f*x^4+e*x^2+d)/(c*x^4+b*x^2+a),x, algorithm="giac")

[Out]

f*x/c + 1/8*((2*b^4*c^3 - 16*a*b^2*c^4 + 32*a^2*c^5 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c
)*b^4*c + 8*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*a*b^2*c^2 + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*
sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*b^3*c^2 - 16*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*a^2*c^3
 - 8*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*a*b*c^3 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c +
sqrt(b^2 - 4*a*c)*c)*b^2*c^3 + 4*sqrt(2)*sqrt(b^2 -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sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b*c^5 - 2*(b^2 - 4*a*c)*b^3*c^4 + 4*(b^2 - 4*a*c)*a*b*c^5)*f)*arctan(2*
sqrt(1/2)*x/sqrt((b*c - sqrt(b^2*c^2 - 4*a*c^3))/c^2))/((a*b^4*c^3 - 8*a^2*b^2*c^4 - 2*a*b^3*c^4 + 16*a^3*c^5
+ 8*a^2*b*c^5 + a*b^2*c^5 - 4*a^2*c^6)*c^2)

Mupad [B] (verification not implemented)

Time = 9.70 (sec) , antiderivative size = 10209, normalized size of antiderivative = 46.62 \[ \int \frac {d+e x^2+f x^4}{a+b x^2+c x^4} \, dx=\text {Too large to display} \]

[In]

int((d + e*x^2 + f*x^4)/(a + b*x^2 + c*x^4),x)

[Out]

(f*x)/c - atan(((((4*b^2*c^3*d + 16*a^2*c^3*f - 16*a*c^4*d - 4*a*b^2*c^2*f)/c - (2*x*(4*b^3*c^3 - 16*a*b*c^4)*
(-(a*b^5*f^2 + b^3*c^3*d^2 - c^3*d^2*(-(4*a*c - b^2)^3)^(1/2) + a*b^3*c^2*e^2 - 4*a^2*b*c^3*e^2 + a*b^2*f^2*(-
(4*a*c - b^2)^3)^(1/2) + a*c^2*e^2*(-(4*a*c - b^2)^3)^(1/2) - 7*a^2*b^3*c*f^2 + 12*a^3*b*c^2*f^2 - a^2*c*f^2*(
-(4*a*c - b^2)^3)^(1/2) - 4*a*b*c^4*d^2 + 16*a^2*c^4*d*e - 16*a^3*c^3*e*f - 4*a*b^2*c^3*d*e + 2*a*b^3*c^2*d*f
- 8*a^2*b*c^3*d*f + 2*a*c^2*d*f*(-(4*a*c - b^2)^3)^(1/2) + 12*a^2*b^2*c^2*e*f - 2*a*b^4*c*e*f - 2*a*b*c*e*f*(-
(4*a*c - b^2)^3)^(1/2))/(8*(16*a^3*c^5 + a*b^4*c^3 - 8*a^2*b^2*c^4)))^(1/2))/c)*(-(a*b^5*f^2 + b^3*c^3*d^2 - c
^3*d^2*(-(4*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